import cv2
image = cv2.imread("cup.jpg")
gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
hsv_image = cv2.cvtColor(image, cv2.COLOR_BGR2HSV)
cv2.imshow("BGR", image)
cv2.imshow("GRAY", gray_image)
cv2.imshow("HSV", hsv_image)
cv2.waitKey()
cv2.destroyAllWindows()